package com.happe.foodeasy.client;

import com.happe.foodeasy.dto.CommodityBaseDTO;
import com.happe.foodeasy.dto.CommodityTypeDTO;
import com.happe.foodeasy.dto.PageInfoDto;

import java.util.List;

public interface CommodityClient {
    long selectTotalCountByParam(long commodityTypeId, long commodityStateId);

    List<CommodityBaseDTO> selectTargetCommodityByParam(long commodityTypeId, PageInfoDto pageInfoDto);

    List<CommodityTypeDTO> selectAllCommodityType();
}
